using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data;

public partial class CapNhatNguoiDung : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
       
    }
    protected void gv_DSNguoiDung_SelectedIndexChanged(object sender, EventArgs e)
    {
        NguoiDung_Ctl ND = new NguoiDung_Ctl();
        int Ma;
        Ma = int.Parse(gv_DSNguoiDung.SelectedValue.ToString());
        DataTable Bang = new DataTable();
        Bang = ND.ThongTinNguoiDung(Ma);
        if(Bang.Rows.Count!=0)
        {
            txt_TenDangNhap.Text = Bang.Rows[0][1].ToString();
        }

    }
}
